package com.javaex.book.utils;

import java.math.BigDecimal;

/**
 * 常量
 *
 * @author 黄星琦
 * @Date 2022年3月2日
 */
public class Constants {
	
	public static final BigDecimal BIGDECIMAL_ZERO = new BigDecimal(0);
	
	public static class Code {
		
		public static final int SUCCESS = 1;
		public static final int FAIL = -1;
	}
	
	public static class Message {
		
		public static final String SUCCESS = "操作成功";
		public static final String FAIL = "操作失败";
	}
	
	public static class Response {
		
		public static final String FORWARD = "forward";
		public static final String REDIRECT = "redirect";
	}
	
	/** 未发货 */
	public static final Integer ORDER_NOT_SEND = 0;
	
	/** 已发货 */
	public static final Integer ORDER_SEND = 1;
	
	/** 已签收 */
	public static final Integer ORDER_RECEIVED = 2;
}
